package org.liuqm.client;


import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.Map;

@Service
@FeignClient(name = "activity-server")
public interface ActivitiyClient {

    @GetMapping("/activity/selectById")
    Map getCzktActivityById(@RequestParam("activityId") Integer activityId);
}
